﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BLSingTowerMall;
using DTOSingTowerMall;

namespace FacadeSingTowerMall
{
    public class ApprovalFacade
    {
        ApprovalProcess ap;

        public ApprovalFacade()
        {
            ap = new ApprovalProcess();
        }
        public IQueryable<IEventHallBooking> getEVHBooking()
        {
            return ap.getEVHBooking();
        }

        public IQueryable<IEventHallBooking> getApprovedEVHBooking(int hallid)
        {
            return ap.getApprovedEVHBooking(hallid);
        }

        public IQueryable<IUserDetail> getUserDetail(string username)
        {
            return ap.getUserDetail(username);
        }

        public IQueryable<IEventHallBooking> getEHBData(int bookingId)
        {
            return ap.getEventHallBookingData(bookingId);
        }

        public void getEHBApproval()
        {
            ap.getApproval();
        }
    }
}
